﻿#ifndef __SS_SYSTEM_H__
#define __SS_SYSTEM_H__
#include "container/ssSet.h"
#include "container/ssArray.h"
#include "../element/ssComponent.h"


namespace StarSeeker
{

class ssSystem
{
	friend class ssSystemMgr;
public:
	ssSystem();
	virtual ~ssSystem();

	virtual void Work() = 0;
	virtual void Empty();
protected:
	ssSet<ssComponent::ComponentType_e>		m_compType;	//监听的组件类型
	ssArray<ssNode*>						m_nodes;	//系统管辖的组件
};

}
#endif
